package com.castile.parking.member.service.impl;

import com.castile.parking.member.dao.MemberMapper;
import com.castile.parking.member.entity.Member;
import com.castile.parking.member.entity.MemberExample;
import com.castile.parking.member.service.IMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: Castile
 * @create: 2024-04-20 17:53
 * @Version 1.0
 **/
@Service
public class MemberService implements IMemberService {

    @Autowired
    private MemberMapper memberMapper;

    @Override
    public List<Member> list() {
        return memberMapper.selectByExample(new MemberExample());
    }

}
